package com.example.demo.utils;

import java.util.UUID;

public class UuidUtil {
    public static String getUuid(int len) {
        UUID uuid = UUID.randomUUID();
        return uuid.toString().replace("-", "").substring(0,len);
    }

}
